package com.stone.framework.message.common.log;

import javax.validation.constraints.Pattern;

import com.stone.framework.message.SortableBody;

import io.swagger.annotations.ApiModelProperty;

public class SysLogPageReqBody extends SortableBody {

    @ApiModelProperty(value = "员工号")
    private String username;

    @ApiModelProperty(value = "排序：createDate|updateDate|key")
    @Pattern(regexp = "(createDate|updateDate|key)", message = "[orderBy] must be 'createDate|updateDate|key'")
    @Override
    public String getOrderBy() {
        return super.getOrderBy();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

}
